package com.swipemaster.record;

public class PuzzleRecord extends SurvivalRecord
{
	private static final long serialVersionUID = 1L;

	public PuzzleRecord(int id)
	{
		super(id);
	}

	@Override
	public boolean isBetter(Record score)
	{
		final PuzzleRecord other = (PuzzleRecord) score;
		return (other.time == 0.0) || (time < other.time);
	}
}
